package com.example.data.factory.service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.data.factory.common.Dto.DeletClassaifyDto;
import com.example.data.factory.common.Dto.InsertClassifyDto;
import com.example.data.factory.common.Dto.SearchClassifyDto;
import com.example.data.factory.common.result.R;
import com.example.data.factory.entity.entity.Classify;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lhy
 * @since 2025-03-03
 */
public interface ClassifyService extends IService<Classify> {

    R<List<Classify>> search(SearchClassifyDto searchClassifyDto);

    R<Classify> inserts(InsertClassifyDto insertClassifyDto, HttpServletRequest request);

    R<Classify> delete(DeletClassaifyDto deletClassaifyDto);

//    R<Classify> searchs(SearchClassifyByTypeDto searchClassifyByTypeDto);
}
